package com.yxt.admin.feign;

import com.yxt.admin.dto.UserDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@RequestMapping("/admin")
public interface AdminApi {
    @GetMapping("/user/list")
    public String list(@RequestParam Map<String, Object> params);

    @GetMapping("/user/info")
    public UserDto findByUserName(@RequestParam("userName") String userName);
}
